package com.jiguang.property.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2025-03-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CostInfo对象", description="")
public class CostInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "缴费人员")
    private String userId;

    private String hostelId;

    @ApiModelProperty(value = "费用类型")
    private String type;

    @ApiModelProperty(value = "费用金额")
    private Double price;

    @ApiModelProperty(value = "催缴次数")
    private Integer urgeNumber;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "月份")
    private String month;

    @ApiModelProperty(value = "删除标识")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "缴费状态（0:未出售，1:已出售）")
    private Integer status = 0;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;



}
